package com.atguigu.gmall.feign.order;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.order.vo.OrderConfirmVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author:ahang
 * @create:2022-10-23 1:52
 * @Description:
 */
@FeignClient("service-order")
@RequestMapping("/api/inner/order")
public interface OrderFeignClient {

    @GetMapping("/confirm/data")
    Result<OrderConfirmVo> getOrderConfirmdata();
}
